home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / sstev.z / sstev
Encoding:
Text File  |  2002-10-03  |  3.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSSSSSTTTTEEEEVVVV((((3333SSSS))))                                                            SSSSSSSSTTTTEEEEVVVV((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SSTEV - compute all eigenvalues and, optionally, eigenvectors of a real
  10.      symmetric tridiagonal matrix A
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE SSTEV( JOBZ, N, D, E, Z, LDZ, WORK, INFO )
  14.  
  15.          CHARACTER     JOBZ
  16.  
  17.          INTEGER       INFO, LDZ, N
  18.  
  19.          REAL          D( * ), E( * ), WORK( * ), Z( LDZ, * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      SSTEV computes all eigenvalues and, optionally, eigenvectors of a real
  36.      symmetric tridiagonal matrix A.
  37.  
  38. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  39.      JOBZ    (input) CHARACTER*1
  40.              = 'N':  Compute eigenvalues only;
  41.              = 'V':  Compute eigenvalues and eigenvectors.
  42.  
  43.      N       (input) INTEGER
  44.              The order of the matrix.  N >= 0.
  45.  
  46.      D       (input/output) REAL array, dimension (N)
  47.              On entry, the n diagonal elements of the tridiagonal matrix A.
  48.              On exit, if INFO = 0, the eigenvalues in ascending order.
  49.  
  50.      E       (input/output) REAL array, dimension (N)
  51.              On entry, the (n-1) subdiagonal elements of the tridiagonal
  52.              matrix A, stored in elements 1 to N-1 of E; E(N) need not be set,
  53.              but is used by the routine.  On exit, the contents of E are
  54.              destroyed.
  55.  
  56.      Z       (output) REAL array, dimension (LDZ, N)
  57.              If JOBZ = 'V', then if INFO = 0, Z contains the orthonormal
  58.              eigenvectors of the matrix A, with the i-th column of Z holding
  59.              the eigenvector associated with D(i).  If JOBZ = 'N', then Z is
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSSSSSTTTTEEEEVVVV((((3333SSSS))))                                                            SSSSSSSSTTTTEEEEVVVV((((3333SSSS))))
  71.  
  72.  
  73.  
  74.              not referenced.
  75.  
  76.      LDZ     (input) INTEGER
  77.              The leading dimension of the array Z.  LDZ >= 1, and if JOBZ =
  78.              'V', LDZ >= max(1,N).
  79.  
  80.      WORK    (workspace) REAL array, dimension (max(1,2*N-2))
  81.              If JOBZ = 'N', WORK is not referenced.
  82.  
  83.      INFO    (output) INTEGER
  84.              = 0:  successful exit
  85.              < 0:  if INFO = -i, the i-th argument had an illegal value
  86.              > 0:  if INFO = i, the algorithm failed to converge; i off-
  87.              diagonal elements of E did not converge to zero.
  88.  
  89. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  90.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  91.  
  92.      This man page is available only online.
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.